<include file="public@header"/>
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li><a href="{:url('Price/index')}">列表</a></li>
        <li class="active"><a href="{:url('Price/add')}">添加</a></li>
    </ul>
    <form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('Price/addPost')}">
        <div class="form-group">
    <label class="col-sm-2 control-label"><span class="form-required"></span> 原料价格2物流价格3内部加工价格:</label>
    <div class="col-md-6 col-sm-10">
            <select name="type" class="form-control">
                <option value="">请选择</option>
                                    <option  <if isset($vo.type)&&$vo.type=='1'>selected </if> value="1">原料价格</option>
                                    <option  <if isset($vo.type)&&$vo.type=='2'>selected </if> value="2">物流价格</option>
                                    <option  <if isset($vo.type)&&$vo.type=='3'>selected </if> value="3">内部加工</option>
                                    <option  <if isset($vo.type)&&$vo.type=='4'>selected </if> value="4">其他</option>
                            </select>
    </div>
</div><div class="form-group">
    <label class="col-sm-2 control-label"><span class="form-required"></span> 价格:</label>
    <div class="col-md-6 col-sm-10">
        <input placeholder="" type="text" class="form-control" name="price" value="{$vo.price|default=''}">
    </div>
</div><div class="form-group">
    <label class="col-sm-2 control-label"><span class="form-required"></span> 税率:</label>
    <div class="col-md-6 col-sm-10">
        <input placeholder="" type="text" class="form-control" name="taxrate" value="{$vo.taxrate|default=''}">
    </div>
</div><div class="form-group">
    <label class="col-sm-2 control-label"><span class="form-required"></span> 增加时间:</label>
    <div class="col-md-6 col-sm-10">
        <input placeholder="" type="text" class="form-control" name="add_time" value="{$vo.add_time|default=''}">
    </div>
</div><div class="form-group">
    <label class="col-sm-2 control-label"><span class="form-required"></span> 最后操作人:</label>
    <div class="col-md-6 col-sm-10">
        <input placeholder="" type="text" class="form-control" name="admin_id" value="{$vo.admin_id|default=''}">
    </div>
</div><div class="form-group">
    <label class="col-sm-2 control-label"><span class="form-required"></span> 关联计划id:</label>
    <div class="col-md-6 col-sm-10">
        <input placeholder="" type="text" class="form-control" name="plan_id" value="{$vo.plan_id|default=''}">
    </div>
</div><div class="form-group">
    <label class="col-sm-2 control-label"><span class="form-required"></span> 是否是钢卷 1钢卷2钢板:</label>
    <div class="col-md-6 col-sm-10">
        <input placeholder="" type="text" class="form-control" name="is_coil" value="{$vo.is_coil|default=''}">
    </div>
</div><div class="form-group">
    <label class="col-sm-2 control-label"><span class="form-required"></span> 资源id:</label>
    <div class="col-md-6 col-sm-10">
        <input placeholder="" type="text" class="form-control" name="res_id" value="{$vo.res_id|default=''}">
    </div>
</div>        <div class="col-sm-offset-2 col-sm-10">
            <button type="submit" class="btn btn-primary js-ajax-submit">保存</button>
            <a class="btn btn-default" href="{:url('Price/index')}">返回</a>
        </div>
    </form>

</div>
<script src="/static/js/admin.js"></script>
<script src="/static/js/layer/layer.js"></script>
<script>
    </script>
</body>
</html>